<template>
  <div>
    <ul class="tab-bar">
      <router-link to="/home" tag="li">乐</router-link>
      <router-link to="shop" tag="li">购</router-link>
      <router-link to="/cart" tag="li">购物车</router-link>
      <router-link to="/mine" tag="li">我</router-link>
    </ul>

  </div>
</template>

<script>
export default {
  name: 'Tarbar',
}
</script>

<style lang="less" scoped>
div{
  position: fixed;
  bottom: 0;
  left:0;
  width:100%;
  height: 90px;
  text-align: center;
  background: white;
  z-index: 99;
  ul{
    display: flex;
    li{
      flex:1;
      font-size: 19px;
      color: #919599;
      line-height: 90px;
    }
  }
}

.router-link-exact-active, .router-link-active {
  color: #000;
}

</style>
